package com.dengjk.codegenerator.dao;

import com.dengjk.codegenerator.model.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Dengjk
 * @create 2021-10-01 0:09
 * @desc
 **/
@Repository
public interface UserInfoDao extends JpaRepository<UserInfo, Long> {


    UserInfo findFirstByNameAndPassword(String name,String password);

}
